goto into your database into the setup table and change `access_id` to 1

delete this totally out of mgr/index.php

Code:

if($setup->access_id == "0"){
   header("location: activate.php");
   exit;
} 